/*
 * Jenny Ruppen 09-730-391
 * Sebastien Goldberg 08-914-855
 * Henry Raymond 08-928-061
 * Stefan Mussato 09-752-270
 */
 
package ch.uzh.ifi.sopra.gruppe9.game;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * Remote object interface for the virtual game board.
 */
public interface IRmiGameBoard extends Remote {
	
	boolean isInGame() throws RemoteException;
	
	int registerPlayer() throws RemoteException;
	
	void registerUpdateSubscriber(String name, String ip) throws RemoteException;
	
	void startGame() throws RemoteException;
	
	int getPlayerNum() throws RemoteException;
	
	int getTurn() throws RemoteException;
	
	int getProtege() throws RemoteException;
	
	int getSeason() throws RemoteException;
	
	boolean cheat(int playerIndex, int type) throws RemoteException;

}
